﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Project.Service
{
    public partial class DesignToolService
    {
        public int MarkRemove(Guid id)
        {
            string sql = $"update designTool set IsDeleted=1 where id='{id}';";
            sql += $"delete from userdesignrelation where DesignToolId='{id}'";

            return baseRepostory.ExecuteNonQuery(sql);
        }
    }
}
